Skip to content

fix: pull registry probe image before the timed readiness check - #1904

Merged
firecow merged 2 commits into
masterfrom
fix/local-registry-probe-timeout
Jul 31, 2026
Merged

fix: pull registry probe image before the timed readiness check#1904
firecow merged 2 commits into
masterfrom
fix/local-registry-probe-timeout

Conversation

@firecow

@firecow firecow commented Jul 31, 2026

Copy link
Copy Markdown
Owner

The local registry readiness probe timed out because its 4s budget also covered the curlimages/curl image pull, so the pull now runs before the timed probe and the three images the local registry uses are pinned with a renovate custom manager to keep them updated. I could not reproduce the timeout locally, so CI is the real check on the flake.


Summary by cubic

Fix flaky local registry readiness probe by pulling the probe image before the timed check (now inside the try block) and increasing the timeout to 10s.

  • Bug Fixes

    • Pull curlimages/curl:8.21.0 inside the probe’s try block before the loop to avoid cold pull timeouts and ensure cleanup on failure.
    • Increase readiness check timeout from 4s to 10s.
  • Dependencies

    • Pin images: registry:3.1.1, alpine/openssl:3.5.7, curlimages/curl:8.21.0.
    • Track these tags via Renovate using inline comments in src/utils.ts and a regex custom manager with the docker datasource.

Written for commit c4ac83f. Summary will update on new commits.

Review in cubic

The readiness probe's 4s budget also covered the curlimages/curl image
pull, so a cold pull consumed it before the poll could run. Pin the three
images used by the local registry and let renovate track them.
@firecow firecow self-assigned this Jul 31, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread src/utils.ts Outdated
@sonarqubecloud

Copy link
Copy Markdown

@firecow
firecow merged commit 81cfdd1 into master Jul 31, 2026
16 checks passed
@firecow
firecow deleted the fix/local-registry-probe-timeout branch July 31, 2026 07:20
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Aug 11, 2026
This MR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|---|---|
| [npm:gitlab-ci-local](https://github.com/firecow/gitlab-ci-local) | `4.73.0` → `4.74.0` | ![age](https://developer.mend.io/api/mc/badges/age/npm/gitlab-ci-local/4.74.0?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/gitlab-ci-local/4.74.0?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/gitlab-ci-local/4.73.0/4.74.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/gitlab-ci-local/4.73.0/4.74.0?slim=true) |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>firecow/gitlab-ci-local (npm:gitlab-ci-local)</summary>

### [`v4.74.0`](https://github.com/firecow/gitlab-ci-local/releases/tag/4.74.0)

[Compare Source](firecow/gitlab-ci-local@4.73.0...4.74.0)

#### What's Changed

- fix: introduce per-job cert volume with %gcl% token by [@&#8203;ticapix](https://github.com/ticapix) in [#&#8203;1877](firecow/gitlab-ci-local#1877)
- fix: pull registry probe image before the timed readiness check by [@&#8203;firecow](https://github.com/firecow) in [#&#8203;1904](firecow/gitlab-ci-local#1904)
- fix(parser): anchor comment directives correctly and quote injected descriptions by [@&#8203;firecow](https://github.com/firecow) in [#&#8203;1896](firecow/gitlab-ci-local#1896)

**Full Changelog**: <firecow/gitlab-ci-local@4.73.0...4.74.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6bWlub3IiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant